import java.util.Scanner;
public class test545 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.print("Enter 10 numbers: ");
        
        double sum = 0;
        double sumOfSquares = 0;
        for (int i = 0; i < 10; i++) {
            double num = scanner.nextDouble();
            sum += num;
            sumOfSquares += num * num;
        }
        scanner.close();
        double mean = sum / 10;
        double variance = (sumOfSquares - (sum * sum) / 10) / 9;
        double stdDeviation = Math.sqrt(variance);
        System.out.printf("The mean is %.2f%n", mean);
        System.out.printf("The standard deviation is %.5f%n", stdDeviation);
    }
}

